package com.region.common.adapter.json;

import com.region.common.adapter.json.convert.JsonConvertor;

import java.lang.reflect.Type;

/**
 * @author 26225
 * @date 2024/7/7 12:22
 * @description
 */
public class MyJsonConvertor implements JsonConvertor {
    @Override
    public boolean isSerialized(Object data) {
        return true;
    }

    @Override
    public String convertToString(Object data) {
        return null;
    }

    @Override
    public <T> boolean isDeserialized(String json, Type type) {
        System.out.println("===test convertor");
        return true;
    }

    @Override
    public <T> T convertToObject(String json, Type type) {
        return null;
    }
}
